package com.sdp.wz.db.wz_vendor_wz.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zsp
 * @since 2024-08-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wz_vendor_wz")
public class WzVendorWz extends Model<WzVendorWz> {

    private static final long serialVersionUID=1L;

    /**
     * 内码
     */
    @TableId("key_id")
    private String keyId;

    /**
     * 供应商编码
     */
    @TableField("vendor_code")
    private String vendorCode;

    /**
     * 物资编码
     */
    @TableField("wz_no")
    private String wzNo;

    /**
     * 仓库编码
     */
    @TableField("warehouse_code")
    private String warehouseCode;


    @Override
    protected Serializable pkVal() {
        return this.keyId;
    }

}
